unit About;

interface

uses WinApi.Windows, System.SysUtils, System.Classes, Vcl.Graphics,
  Vcl.Forms, Vcl.Controls, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls,
  Vcl.Imaging.jpeg, Vcl.Imaging.pngimage,Winapi.ShellAPI;

type
  TAboutBox = class(TForm)
    Panel1: TPanel;
    ProductName: TLabel;
    Version: TLabel;
    Copyright: TLabel;
    Comments: TLabel;
    OKButton: TButton;
    ProgramIcon: TImage;
    Image1: TImage;
    Image2: TImage;
    Image3: TImage;
    Label1: TLabel;
    procedure Label1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

procedure showabout();

var
  AboutBox: TAboutBox;

implementation

{$R *.dfm}

procedure showabout();
begin
   with TAboutBox.Create(Application) do
  begin
    ShowModal;
    Free;
  end;
end;
procedure TAboutBox.Label1Click(Sender: TObject);
begin
   ShellExecute(Application.Handle, nil, 'http://www.shihongnet.com', nil, nil, SW_SHOWNORMAL);

end;

end.
 
